<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="./vue.js"></script>
    <div id='app'>
        <h1>{{ msg }}</h1>
        <h2 v-text='msg'>{{ msg }}</h2>
        <div v-html='htmlMsg'>

        </div>
    </div>
    
    <script>
        new Vue({
            el: "#app",
            data: {
                msg: "插入标签",
                htmlMsg: '<h3>白小凯</h3>'
            },
        })
    </script>
</body>
</html>